﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.Media {

   [IgnoreNamespace]
   public class MediaError {
      [ScriptName("MEDIA_ERR_ABORTED")]
      public const double MEDIA_ERR_ABORTED = 0;
      [ScriptName("MEDIA_ERR_NETWORK")]
      public const double MEDIA_ERR_NETWORK = 1;
      [ScriptName("MEDIA_ERR_DECODE")]
      public const double MEDIA_ERR_DECODE = 2;
      [ScriptName("MEDIA_ERR_NONE_SUPPORTED")]
      public const double MEDIA_ERR_NONE_SUPPORTED = 3;

      [ScriptName("code")]
      public double Code;
      [ScriptName("message")]
      public string Messsage;
   }

}
